package edu.whcp.comp2301.dao;

import edu.whcp.comp2301.pojo.User;

import java.util.List;

public interface UserDao {
    public List<User> getAllUsers();

    public User userLogin(String username,String password);

    public List<User> getUser(String id);

    public void addUser(User user);

    public Integer delUser(String id);

    public void alterUser(User user);

    public User userPageLogin(String username, String password);
}
